﻿package Engine.RMI
{
    import Framework.Serialize.*;

    public class IKeepActivePrxHelper extends RMIProxyObject implements IKeepActivePrx
    {
        public static const NAME:String = "Engine.RMI.IKeepActive";

        public function IKeepActivePrxHelper()
        {
            name = "IKeepActive";
        }

        public function keepActive_async(keepactive:AMI_IKeepActive_keepActive) : void
        {
            var context:Context = new Context();
			context._session = session;
			context._connection = session.connection;
			context._timeOut = this.timeOut;
            var call:SRMICall = new SRMICall();
			call.identity = identity;
			call.operation = "keepActive";
            var stream:* = new SerializeStream();
            Outgoing.invokeAsync(context, call, stream, keepactive);
        }

    }
}
